using System;
using System.Collections.Generic;
using System.Text;

namespace Geometry
{
	/// <summary>
	/// This class is used for testing purposes.
	/// </summary>
    class Tester
    {
    	/// <summary>
    	/// The Main method which will be run when the project is compiled as a "Console Exe"
    	/// </summary>
        static void Main()
        {
            PointCloud x = new PointCloud(5, 5);
            Random randObj = new Random();
            for (int j = 0; j < 50; j++)
            {
                x.Add(new ColoredPoint(5 * randObj.NextDouble(), 5 * randObj.NextDouble(), (byte)randObj.Next(0, 255), (byte)randObj.Next(0, 255), (byte)randObj.Next(0, 255)));
                Console.WriteLine("New Item Added");
            }
            Console.ReadKey();
            x.FindNear(0, 0, 10);
            Console.ReadKey();

        }
    }
}
